﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Common.Model
{
    public class NASResult<R,E>
    {
        /// <summary>
        /// 返回成功数据
        /// </summary>
        public virtual R data { get; set; } 
        /// <summary>
        /// 返回失败信息，错误代码
        /// </summary>
        public virtual E error { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public virtual Boolean success { get; set; }
    }
}
